<!--<div class="login-block">
	<!--<div class="login-content">-->
<!--<form (ngSubmit)="onSubmit()" class="login-form" #loginForm="ngForm">
		<div class="form-group">
			<!--<label for="user">用户名</label>-->
<!--<i class="icons icon-users"></i>
			<input pInputText type="text" class="form-control" id="name" required [(ngModel)]="user.name" placeholder="please input username"
				name="name" #name="ngModel">
			<div [hidden]="name.valid || name.pristine" class="alert alert-danger">Name is required</div><br>
		</div>
		<div class="form-group">-->
<!--<label for="password">密   码</label>-->
<!--<i class="icons icon-pwd"></i>
			<input pInputText type="text" class="form-control" id="password" required [(ngModel)]="user.password" placeholder="please input password"
				name="password" #password="ngModel">
			<div [hidden]="password.valid || password.pristine" class="alert alert-danger">Password is required</div>
		</div>
		<button type="submit" class="btn-block btn-login" [disabled]="!loginForm.valid">Submit</button>-->
<!--</form>-->
<!--</div>-->
<!--</div>-->

<div class="container">
	<!--<div class="login-content">-->
	<form (ngSubmit)="onSubmit()" class="form-horizontal" #loginForm="ngForm">
		<!--<div class="form-group has-success has-feedback">
			<label class="control-label col-sm-3" for="inputSuccess3">Input with success</label>
			<div class="col-sm-9">
				<input type="text" class="form-control" id="inputSuccess3" aria-describedby="inputSuccess3Status">
				<span class="glyphicon glyphicon-ok form-control-feedback" aria-hidden="true"></span>
				<span id="inputSuccess3Status" class="sr-only">(success)</span>
			</div>
		</div>-->


		<div class="form-group">
			<label class="control-label col-sm-3" for="user">用户名</label>
			<!--<i class="icons icon-users control-label "></i>-->
			<div class="col-sm-9">
				<input type="text" class="form-control" id="name" required [(ngModel)]="user.name" placeholder="please input username" name="name"
					#name="ngModel">
			</div>

			<!--<span class="glyphicon form-control-feedback" [ngClass]="{'glyphicon-ok': name.valid || name.pristine}"></span>-->
			<div [hidden]="name.valid || name.pristine" class="alert alert-danger">Name is required</div><br>
		</div>
		<div class="form-group">
			<label class="control-label col-sm-3" for="password">密　码</label>
			<!--<i class="icons icon-pwd control-label"></i>-->
			<div class="col-sm-9">
				<input type="password" class="form-control" id="password" required [(ngModel)]="user.password" placeholder="please input password"
					name="password" #password="ngModel">
			</div>

			<div [hidden]="password.valid || password.pristine" class="alert alert-danger">Password is required</div>
		</div>
		<!--<p-selectButton [options]="languages" class='pull-left chooseLan' [style]="{'margin-top':'3px'}" formControlName='languages'
			[(ngModel)]='language'></p-selectButton>-->
		<div class="form-group">
			<div class="col-sm-offset-2 col-sm-10">
				<button type="submit" class="btn btn-default" [disabled]="!loginForm.valid">Submit</button>
			</div>

		</div>

	</form>